import { App } from 'vue';

import CardView from '@/components/cardView/index.vue';
import FormItem from '@/components/form/index.vue';
import IconItem from '@/components/item/IconItem.vue';
import MessageDialog from '@/components/messageDialog/index.vue';
import Pagination from '@/components/pagination/index.vue';
import ProgressView from '@/components/progressView/index.vue';
import SvgIcon from '@/components/svgIcon/index.vue';
import TabsView from '@/components/tabsView/index.vue';
import TitleView from '@/components/titleView/index.vue';

export default {
  install(app: App) {
    app.component('CardView', CardView);
    app.component('SvgIcon', SvgIcon);
    app.component('FormItem', FormItem);
    app.component('PaginationView', Pagination);
    app.component('TabsView', TabsView);
    app.component('MessageDialog', MessageDialog);
    app.component('TitleView', TitleView);
    app.component('ProgressView', ProgressView);
    app.component('IconItem', IconItem);
  },
};
